#include "sliderdialog.h"
#include "ui_sliderdialog.h"
#include<QMessageBox>
sliderDialog::sliderDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::sliderDialog)
{
    ui->setupUi(this);

    QObject::connect(ui->spinBox,SIGNAL(valueChanged(int)),ui->horizontalSlider,SLOT(setValue( int)));
    QObject::connect(ui->horizontalSlider,SIGNAL(valueChanged(int)),ui->dial,SLOT(setValue( int)));
    QObject::connect(ui->dial,SIGNAL(valueChanged(int)),ui->spinBox,SLOT(setValue( int)));

}

sliderDialog::~sliderDialog()
{
    delete ui;
}
void sliderDialog::set_pin_box_value()
{
    QMessageBox::information(this, "message", "滑动");


}
